.globl begtext, begdata, begbss                      ! needed by linker

.globl _getcs
.globl _crt0, _syscall, _exit
					
.text                                                ! these tell as:	
begtext:                                             ! text,data,bss segments
.data                                                ! are all the same.
begdata:
.bss
begbss:
.text           
	    

auto_start:	
export auto_start

start:

        call _crt0

        push  #0
        call  _exit

dead:   jmp   dead

	 
_getcs:
        mov   ax, cs
        ret
		
_syscall:	
	int    80
	ret

